/*
* Copyright (c) 2016 ShopJsp. All Rights Reserved.
 * ============================================================================
 * 版权所有 2011 - 今 北京华宇盈通科技有限公司，并保留所有权利。
 * ----------------------------------------------------------------------------
 * 提示：在未取得SHOPJSP商业授权之前，您不能将本软件应用于商业用途，否则SHOPJSP将保留追究的权力。
 * ----------------------------------------------------------------------------
 * 官方网站：http://www.shopjsp.com
 * ============================================================================
*/
package com.hyyt.shopjsp.basic.pojo;


import java.io.Serializable;
import java.util.List;

/**
* BASIC_权限表
*
* @author Robot 2016-10-18 19:23:28
*/
public class BasicPurview implements Serializable{
    private Integer purviewId;          //权限ID
    private Integer parentId;          //父ID
    private String purviewName;          //权限名称
    private String url;          //路径
    private Integer sortCode;          //排序
    private Integer isLeaf;          //是否为叶子节点[0是，1不是]
    private String iconUrl;          //权限小图标
    private Integer levelCode;          //权限级别
    private String purviewValidateCode;          //权限验证编码

    /**以下为扩展属性**/
    private BasicActor basicActor;      //一个权限对应一个角色

    List<BasicPurview> basicPurviews;   //当前级别权限的下级权限

    private String actorIds;    //角色id集合串，以,隔开，供权限验证使用
    private String functions;   //此路径下的权限集合，多个以,隔开，供权限验证使用

    public BasicPurview() {
    }

    public Integer getPurviewId(){
        return this.purviewId;
    }
    public void setPurviewId(Integer purviewId){
        this.purviewId=purviewId;
    }

    public Integer getParentId(){
        return this.parentId;
    }
    public void setParentId(Integer parentId){
        this.parentId=parentId;
    }

    public String getPurviewName(){
        return this.purviewName;
    }
    public void setPurviewName(String purviewName){
        this.purviewName=purviewName;
    }

    public String getUrl(){
        return this.url;
    }
    public void setUrl(String url){
        this.url=url;
    }

    public Integer getSortCode(){
        return this.sortCode;
    }
    public void setSortCode(Integer sortCode){
        this.sortCode=sortCode;
    }

    public Integer getIsLeaf(){
        return this.isLeaf;
    }
    public void setIsLeaf(Integer isLeaf){
        this.isLeaf=isLeaf;
    }

    public String getIconUrl(){
        return this.iconUrl;
    }
    public void setIconUrl(String iconUrl){
        this.iconUrl=iconUrl;
    }

    public Integer getLevelCode(){
        return this.levelCode;
    }
    public void setLevelCode(Integer levelCode){
        this.levelCode=levelCode;
    }

    public String getPurviewValidateCode() {
        return purviewValidateCode;
    }
    public void setPurviewValidateCode(String purviewValidateCode) {
        this.purviewValidateCode = purviewValidateCode;
    }

    public BasicActor getBasicActor() {
        return basicActor;
    }
    public void setBasicActor(BasicActor basicActor) {
        this.basicActor = basicActor;
    }

    public List<BasicPurview> getBasicPurviews() {
        return basicPurviews;
    }
    public void setBasicPurviews(List<BasicPurview> basicPurviews) {
        this.basicPurviews = basicPurviews;
    }

    public String getActorIds() {
        return actorIds;
    }
    public void setActorIds(String actorIds) {
        this.actorIds = actorIds;
    }

    public String getFunctions() {
        return functions;
    }
    public void setFunctions(String functions) {
        this.functions = functions;
    }



}